﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001081 RID: 4225
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournWeekChallengeUpdateScNotify : IMessage<RogueTournWeekChallengeUpdateScNotify>, IMessage, IEquatable<RogueTournWeekChallengeUpdateScNotify>, IDeepCloneable<RogueTournWeekChallengeUpdateScNotify>, IBufferMessage
	{
		// Token: 0x17003548 RID: 13640
		// (get) Token: 0x0600BCA1 RID: 48289 RVA: 0x001FC583 File Offset: 0x001FA783
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournWeekChallengeUpdateScNotify> Parser
		{
			get
			{
				return RogueTournWeekChallengeUpdateScNotify._parser;
			}
		}

		// Token: 0x17003549 RID: 13641
		// (get) Token: 0x0600BCA2 RID: 48290 RVA: 0x001FC58A File Offset: 0x001FA78A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournWeekChallengeUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700354A RID: 13642
		// (get) Token: 0x0600BCA3 RID: 48291 RVA: 0x001FC59C File Offset: 0x001FA79C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournWeekChallengeUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x0600BCA4 RID: 48292 RVA: 0x001FC5A3 File Offset: 0x001FA7A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournWeekChallengeUpdateScNotify()
		{
		}

		// Token: 0x0600BCA5 RID: 48293 RVA: 0x001FC5AB File Offset: 0x001FA7AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournWeekChallengeUpdateScNotify(RogueTournWeekChallengeUpdateScNotify other) : this()
		{
			this.extraScoreInfo_ = ((other.extraScoreInfo_ != null) ? other.extraScoreInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BCA6 RID: 48294 RVA: 0x001FC5E0 File Offset: 0x001FA7E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournWeekChallengeUpdateScNotify Clone()
		{
			return new RogueTournWeekChallengeUpdateScNotify(this);
		}

		// Token: 0x1700354B RID: 13643
		// (get) Token: 0x0600BCA7 RID: 48295 RVA: 0x001FC5E8 File Offset: 0x001FA7E8
		// (set) Token: 0x0600BCA8 RID: 48296 RVA: 0x001FC5F0 File Offset: 0x001FA7F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraScoreInfo ExtraScoreInfo
		{
			get
			{
				return this.extraScoreInfo_;
			}
			set
			{
				this.extraScoreInfo_ = value;
			}
		}

		// Token: 0x0600BCA9 RID: 48297 RVA: 0x001FC5F9 File Offset: 0x001FA7F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournWeekChallengeUpdateScNotify);
		}

		// Token: 0x0600BCAA RID: 48298 RVA: 0x001FC607 File Offset: 0x001FA807
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournWeekChallengeUpdateScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.ExtraScoreInfo, other.ExtraScoreInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BCAB RID: 48299 RVA: 0x001FC63C File Offset: 0x001FA83C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.extraScoreInfo_ != null)
			{
				num ^= this.ExtraScoreInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BCAC RID: 48300 RVA: 0x001FC678 File Offset: 0x001FA878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BCAD RID: 48301 RVA: 0x001FC680 File Offset: 0x001FA880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BCAE RID: 48302 RVA: 0x001FC689 File Offset: 0x001FA889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.extraScoreInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.ExtraScoreInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BCAF RID: 48303 RVA: 0x001FC6BC File Offset: 0x001FA8BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.extraScoreInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ExtraScoreInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BCB0 RID: 48304 RVA: 0x001FC6FC File Offset: 0x001FA8FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournWeekChallengeUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.extraScoreInfo_ != null)
			{
				if (this.extraScoreInfo_ == null)
				{
					this.ExtraScoreInfo = new ExtraScoreInfo();
				}
				this.ExtraScoreInfo.MergeFrom(other.ExtraScoreInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BCB1 RID: 48305 RVA: 0x001FC750 File Offset: 0x001FA950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BCB2 RID: 48306 RVA: 0x001FC75C File Offset: 0x001FA95C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.extraScoreInfo_ == null)
					{
						this.ExtraScoreInfo = new ExtraScoreInfo();
					}
					input.ReadMessage(this.ExtraScoreInfo);
				}
			}
		}

		// Token: 0x04004BF3 RID: 19443
		private static readonly MessageParser<RogueTournWeekChallengeUpdateScNotify> _parser = new MessageParser<RogueTournWeekChallengeUpdateScNotify>(() => new RogueTournWeekChallengeUpdateScNotify());

		// Token: 0x04004BF4 RID: 19444
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004BF5 RID: 19445
		public const int ExtraScoreInfoFieldNumber = 1;

		// Token: 0x04004BF6 RID: 19446
		private ExtraScoreInfo extraScoreInfo_;
	}
}
